<?php
//include_once 'defined.php';
//include_once BP.'lib'.DS.'Horde'.DS.'Yaml'.DS.'Dumper.php';
//include_once BP.'lib'.DS.'Horde'.DS.'Yaml'.DS.'Exception.php';
//include_once BP.'lib'.DS.'Horde'.DS.'Yaml'.DS.'Loader.php';
//include_once BP.'lib'.DS.'Horde'.DS.'Yaml'.DS.'Node.php';
//include_once BP.'lib'.DS.'Horde'.DS.'Yaml.php';
//
//$data = Horde_Yaml::loadFile(BP.'yml'.DS.'enterprise.yml');
//$str = '';
//foreach($data as $type=>$item){
//	foreach($item as $n=>$v){
//		$str .= '$lang[\'enterprise\'][\''.$n.'\']=\''.$v.'\';'."\n";
//	}	
//}
//file_put_contents(DP_PRI.'lang'.DS.'zh_cn.php', $str, FILE_APPEND);